Extends IPtr to allow sorted containers.
More...
#include <fcontainer.h>
Detailed Description
template<class I>
class Steinberg::FSortablePtr< I >
Extends IPtr to allow sorted containers.
When an implementation of FObject defines comparison operators and a sorting container like TOrderedArray is used to store objects sorted, FSortablePtr can be used instead of IPtr.
Example:
TOrderedArray <FSortablePtr <StringObject> > strings;
StringObject* test = new StringObject ("test");
strings.add (test);
test->release ();
Constructor & Destructor Documentation
Member Function Documentation
bool operator== |
( |
const FSortablePtr< I > & |
other |
) |
const [inline] |
bool operator!= |
( |
const FSortablePtr< I > & |
other |
) |
const [inline] |
bool operator> |
( |
const FSortablePtr< I > & |
other |
) |
const [inline] |
bool operator< |
( |
const FSortablePtr< I > & |
other |
) |
const [inline] |
bool operator<= |
( |
const FSortablePtr< I > & |
other |
) |
const [inline] |
bool operator>= |
( |
const FSortablePtr< I > & |
other |
) |
const [inline] |